inherited frmMnfMRP: TfrmMnfMRP
  Left = 444
  Top = 171
  BorderIcons = [biSystemMenu, biMaximize]
  BorderStyle = bsSizeable
  Caption = 'MRP II '#36816#31639
  ClientHeight = 477
  ClientWidth = 880
  ExplicitWidth = 888
  ExplicitHeight = 504
  PixelsPerInch = 96
  TextHeight = 12
  inherited pnlBottom: TPanel
    Top = 422
    Width = 880
    TabOrder = 1
    OnDblClick = pnlBottomDblClick
    ExplicitTop = 422
    ExplicitWidth = 880
    DesignSize = (
      880
      55)
    inherited btnOK: TcxButton
      Left = 911
      TabOrder = 4
      Visible = False
      ExplicitLeft = 911
    end
    inherited btnCancel: TcxButton
      Left = 1174
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF000000FFFFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF1195D5FF000000FFFFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF000000FF0000
        00FF000000FF000000FF000000FF000000FF000000FF1195D5FF1195D5FF0000
        00FF000000FF000000FF000000FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF00D559FF00D559FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF00D559FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF00D559FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF00D559FF7FFF00FF000000FF000000FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF7FFF00FF7FFF00FF000000FF000000FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF7FFF00FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF000000FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF000000FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF0000
        00FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000
        00FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      OptionsImage.NumGlyphs = 1
      TabOrder = 5
      ExplicitLeft = 1174
    end
    object btnExcel: TcxButton
      Left = 10
      Top = 8
      Width = 100
      Height = 25
      Caption = #23548#20986'Excel'
      Enabled = False
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FF000000FF0000
        00FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00000000FF000000FF000000FF000000FF000000FF0000
        00FF000000FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00848484FF848484FF848484FF848484FF848484FF848484FF8484
        84FF848484FF848484FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FF0000
        00FF000000FF000000FF000000FF000000FFFF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00840000FF8400
        00FFFF00FF00840000FFFF00FF00000000FFFF00FF00FF00FF00000000FF0000
        00FF000000FF000000FF000000FF000000FF000000FFFF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00840000FFFF0000FF840000FFFF00
        00FF840000FFFF0000FF840000FFFF0000FFFF00FF00FF00FF00000000FFFF00
        FF00840000FFFF00FF00840000FF840000FFFF0000FF840000FFFF0000FF8400
        00FFFF0000FF840000FFFF0000FF840000FFFF00FF00FF00FF00000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00840000FFFF00
        00FF840000FFFF0000FF840000FFFF0000FF840000FFFF0000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0000FF8400
        00FFFF0000FF840000FFFF0000FF840000FFFF0000FF840000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
      TabOrder = 3
      OnClick = btnExcelClick
    end
    object btnSelEmpty: TcxButton
      Left = 304
      Top = 8
      Width = 75
      Height = 25
      Caption = #20840#28165
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00249924FF0069
        00FF006900FF006900FF006900FFFFFFFF00FFFFFF00FFFFFF00FFFFFF000069
        00FF006900FF006900FF006900FF249924FFFFFFFF00FFFFFF00006900FF3AB2
        3AFF3AB23AFF249924FFFCFCFCFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FCFC
        FCFF249924FF3AB23AFF3AB23AFF006900FFFFFFFF00FFFFFF000A810AFF72EB
        72FF53CC53FF0A810AFFA7D0A7FFFCFCFCFFFFFFFF00FFFFFF00FCFCFCFFA7D0
        A7FF0A810AFF53CC53FF72EB72FF0A810AFFFFFFFF00FFFFFF00249924FF3AB2
        3AFF249924FF72EB72FF249924FFA7D0A7FFFFFFFF00FFFFFF00BAD6BAFF2499
        24FF72EB72FF249924FF3AB23AFF249924FFFFFFFF00FFFFFF003AB23AFFFFFF
        FF00CCEACCFF3AB23AFF72EB72FF3AB23AFFFFFFFF00FFFFFF003AB23AFF72EB
        72FF3AB23AFFCCEACCFFFFFFFF003AB23AFFFFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00CCEACCFF3AB23AFFA7D0A7FFFFFFFF00FFFFFF00A7D0A7FF3AB2
        3AFFCCEACCFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00A7D0A7FF006900FF61AF61FFFFFFFF00FFFFFF0061AF61FF0069
        00FFA7D0A7FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00006900FFFFFF
        FF00A7D0A7FF006900FF3AB23AFF006900FFFFFFFF00FFFFFF00006900FF3AB2
        3AFF006900FFA7D0A7FFFFFFFF00006900FFFFFFFF00FFFFFF000A810AFF2499
        24FF0A810AFF53CC53FF0A810AFFCCEACCFFFFFFFF00FFFFFF00CCEACCFF0A81
        0AFF53CC53FF0A810AFF3AB23AFF0A810AFFFFFFFF00FFFFFF00249924FF72EB
        72FF72EB72FF249924FFCCEACCFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00CCEA
        CCFF249924FF72EB72FF53CC53FF249924FFFFFFFF00FFFFFF003AB23AFF72EB
        72FF72EB72FF53CC53FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF0053CC53FF72EB72FF72EB72FF3AB23AFFFFFFFF00FFFFFF006DC66CFF3AB2
        3AFF3AB23AFF3AB23AFF3AB23AFFFFFFFF00FFFFFF00FFFFFF00FFFFFF003AB2
        3AFF3AB23AFF3AB23AFF3AB23AFF6DC66CFFFFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      TabOrder = 2
      OnClick = btnSelAllClick
    end
    object btnSelTrun: TcxButton
      Tag = 2
      Left = 220
      Top = 8
      Width = 75
      Height = 25
      Caption = #21453#36873
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF009AA4B5FF8A95
        A7FF8A95A7FF8A95A7FF8A95A7FF8A95A7FF8A95A7FF8A95A7FF8A95A7FF8A95
        A7FF8A95A7FF8A95A7FF8A95A7FF9AA4B5FFFFFFFF00FFFFFF008A95A7FFD9C9
        D3FFE7D4DDFFD7C6D1FFD7C6D1FFD7C6D1FFD7C6D1FFD7C6D1FFD7C6D1FFD7C6
        D1FFD7C6D1FFE7D4DDFFD7C6D1FF8A95A7FFFFFFFF00FFFFFF00939DAEFFD2C6
        D1FF151D2EFFD0C2CEFFD0C2CEFFD0C2CEFF9E98AAFF8D8A9DFF8D8A9DFF8D8A
        9DFFBFB5C3FF151D2EFFD0C2CEFF939DAEFFFFFFFF00FFFFFF009BA5B6FFCCC2
        CEFFC6BCC9FFC6BCC9FFC5BCC9FF757D92FFB2BAC7FFB2BAC7FF676F85FF8485
        99FFABA3B4FFC6BCC9FFC6BCC9FF9BA5B6FFFFFFFF00FFFFFF00A1ABBAFFC5C1
        CDFFBBB6C4FFBBB6C4FFB7B4C2FF535F76FFE1E5EAFFE1E5EAFF535F76FF7B7D
        92FFAFADBCFFBBB6C4FFBBB6C4FFA1ABBAFFFFFFFF00FFFFFF00A6B0BEFFC1C1
        CDFFB1B0BEFFB1B0BEFFACADBCFF434F66FFF2F3F6FFF2F3F6FF434F66FF757B
        90FFB1B0BEFFB1B0BEFFB4B3C1FFA6B0BEFFFFFFFF00FFFFFF00ABB4C2FFCED2
        DBFFACB0BEFFA6AAB9FFA2A6B6FF354057FF8490A3FF8490A3FF354057FF7A82
        96FFA6AAB9FFA6AAB9FFACAFBDFFABB4C2FFFFFFFF00FFFFFF00B1B9C6FFD4D9
        E1FFC1C6D1FFADB4C2FF9BA2B3FF263146FFC7CED7FFC7CED7FF263146FF8089
        9CFF9EA2B3FF9EA2B3FFA8ADBCFFB1B9C6FFFFFFFF00FFFFFF00B1B9C6FFD7DB
        E3FFC4CBD5FFC4CBD5FFACB5C3FF1C2538FFB2BAC7FFB2BAC7FF1C2538FF8792
        A4FF969EAFFF969EAFFFA5ADBCFFB5BDCAFFFFFFFF00FFFFFF00B1B9C6FFE0E4
        E9FFCED4DDFFCED4DDFFB2BAC7FF151D2EFF151D2EFF151D2EFF151D2EFFA1AB
        BAFFB4BCC9FFB7BFCBFFCBD1DAFFB1B9C6FFFFFFFF00FFFFFF00B1B9C6FFE7EA
        EEFFE7EAEEFFDBE0E6FFCAD0D9FFB7BFCBFFB7BFCBFFB7BFCBFFB7BFCBFFCAD0
        D9FFDBE0E6FFE7EAEEFFE4E7ECFFB1B9C6FFFFFFFF00FFFFFF00B1B9C6FFEFF1
        F4FF151D2EFFE9ECF0FFE9ECF0FFE9ECF0FFE9ECF0FFE9ECF0FFE9ECF0FFE9EC
        F0FFE9ECF0FF151D2EFFEEF0F3FFB1B9C6FFFFFFFF00FFFFFF00B1B9C6FFF5F7
        F8FFF4F6F8FFF4F6F8FFF4F6F8FFF4F6F8FFF4F6F8FFF4F6F8FFF4F6F8FFF4F6
        F8FFF4F6F8FFF4F6F8FFF5F7F8FFB1B9C6FFFFFFFF00FFFFFF00CED4DDFFB1B9
        C6FFB1B9C6FFB1B9C6FFB1B9C6FFB1B9C6FFB1B9C6FFB1B9C6FFB1B9C6FFB1B9
        C6FFB1B9C6FFB1B9C6FFB1B9C6FFCED4DDFFFFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      TabOrder = 1
      OnClick = btnSelAllClick
    end
    object btnSelAll: TcxButton
      Tag = 1
      Left = 136
      Top = 8
      Width = 75
      Height = 25
      Caption = #20840#36873
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0067B067FF006E
        00FFAAD0AAFFF9F9F9FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00F9F9F9FFAAD0AAFF006E00FF67B067FFFFFFFF00FFFFFF00006E00FF42B4
        42FF006E00FFAAD0AAFFFFFFFF00006E00FFFFFFFF00FFFFFF00006E00FFFFFF
        FF00AAD0AAFF006E00FF42B442FF006E00FFFFFFFF00FFFFFF00CDE9CDFF1486
        14FF5ACD5AFF148614FF42B442FF148614FFFFFFFF00FFFFFF00148614FF2D9C
        2DFF148614FF5ACD5AFF148614FFCDE9CDFFFFFFFF00FFFFFF00FFFFFF00CDE9
        CDFF2D9C2DFF77EA77FF5ACD5AFF2D9C2DFFFFFFFF00FFFFFF002D9C2DFF77EA
        77FF77EA77FF2D9C2DFFCDE9CDFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF005ACD5AFF77EA77FF77EA77FF42B442FFFFFFFF00FFFFFF0042B442FF77EA
        77FF77EA77FF5ACD5AFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0042B4
        42FF42B442FF42B442FF42B442FF73C772FFFFFFFF00FFFFFF0073C772FF42B4
        42FF42B442FF42B442FF42B442FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00006E
        00FF006E00FF006E00FF006E00FF2D9C2DFFFFFFFF00FFFFFF002D9C2DFF006E
        00FF006E00FF006E00FF006E00FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00F9F9
        F9FF2D9C2DFF42B442FF42B442FF006E00FFFFFFFF00FFFFFF00006E00FF42B4
        42FF42B442FF2D9C2DFFF9F9F9FFFFFFFF00FFFFFF00FFFFFF00F9F9F9FFAAD0
        AAFF148614FF5ACD5AFF77EA77FF148614FFFFFFFF00FFFFFF00148614FF77EA
        77FF5ACD5AFF148614FFAAD0AAFFF9F9F9FFFFFFFF00FFFFFF00BCD6BCFF2D9C
        2DFF77EA77FF2D9C2DFF42B442FF2D9C2DFFFFFFFF00FFFFFF002D9C2DFF42B4
        42FF2D9C2DFF77EA77FF2D9C2DFFAAD0AAFFFFFFFF00FFFFFF0042B442FF77EA
        77FF42B442FFCDE9CDFFFFFFFF0042B442FFFFFFFF00FFFFFF0042B442FFFFFF
        FF00CDE9CDFF42B442FF77EA77FF42B442FFFFFFFF00FFFFFF00AAD0AAFF42B4
        42FFCDE9CDFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00CDE9CDFF42B442FFAAD0AAFFFFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      TabOrder = 0
      OnClick = btnSelAllClick
    end
  end
  object pgcMRP: TcxPageControl
    Left = 0
    Top = 0
    Width = 880
    Height = 422
    Align = alClient
    TabOrder = 0
    Properties.ActivePage = tsPlan
    Properties.CustomButtons.Buttons = <>
    OnChange = pgcMRPChange
    ClientRectBottom = 422
    ClientRectRight = 880
    ClientRectTop = 23
    object tsPlan: TcxTabSheet
      Caption = #29983#20135#35745#21010
      ImageIndex = 0
      object Panel1: TPanel
        Left = 0
        Top = 359
        Width = 880
        Height = 40
        Align = alBottom
        BevelOuter = bvNone
        TabOrder = 4
        DesignSize = (
          880
          40)
        object btnSelMnfPlan: TcxButton
          Tag = 1000
          Left = 10
          Top = 9
          Width = 100
          Height = 25
          Caption = #36873#25321#20027#29983#20135#35745#21010
          TabOrder = 1
          OnClick = btnSelMnfPlanClick
        end
        object btnSelSaleOrder: TcxButton
          Tag = 210
          Left = 135
          Top = 9
          Width = 100
          Height = 25
          Caption = #36873#25321#38144#21806#35746#21333
          TabOrder = 2
          OnClick = btnSelMnfPlanClick
        end
        object btnOperation: TcxButton
          Left = 752
          Top = 8
          Width = 120
          Height = 25
          Anchors = [akTop, akRight]
          Caption = #36816#31639
          Default = True
          OptionsImage.Glyph.SourceDPI = 96
          OptionsImage.Glyph.Data = {
            424D360400000000000036000000280000001000000010000000010020000000
            000000000000C40E0000C40E0000000000000000000055130000551300005513
            00005513000055130000551300005513000055130000FFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8E5700FFFDEEF1FFF8C3
            CEFFF297ABFFE17A81FFC16D50FFA25F1FFF55130000FFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8E5700FF8E57
            00FF8E5700FF8E5700FF8E5700FF551300003F3F3FFF3F3F3FFF3F3F3FFF3F3F
            3FFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F3FFFFFFFFFFF8E5700FFFFEE
            D3FF55130000551300009C7942FF55130000B2B2B2FFB2B2B2FFB2B2B2FFB2B2
            B2FFB2B2B2FFB2B2B2FFB2B2B2FFB2B2B2FF3F3F3FFFFFFFFFFF8E5700FFFFEE
            D3FFFFC160FFEC9712FF9C7942FF55130000F0FFAEFFF0FFAEFFF0FFAEFFF0FF
            AEFFF0FFAEFFF0FFAEFFF0FFAEFFB5B5B5FF3F3F3FFFFFFFFFFFFFFFFFFF8E57
            00FFFFC160FFEC9712FF55130000F1FFB3FFF1FFB3FFF1FFB3FFF1FFB3FFF1FF
            B3FFF1FFB3FFF1FFB3FFF1FFB3FFBABABAFF3F3F3FFFFFFFFFFFFFFFFFFFFFFF
            FFFF8E5700FF55130000F2FFB9FFA0A0A0FFA0A0A0FFA0A0A0FFA0A0A0FFA0A0
            A0FFA0A0A0FFA0A0A0FFF2FFB9FFBFBFBFFF3F3F3FFFFFFFFFFFFFFFFFFF8E57
            00FFFFC160FF5513000055130000F3FFBFFFF3FFBFFFF3FFBFFFF3FFBFFFF3FF
            BFFFF3FFBFFFF3FFBFFFF3FFBFFFC5C5C5FF3F3F3FFFFFFFFFFF8E5700FFFFEE
            D3FFFFC160FF551300009C7942FF55130000B0B0B0FFB0B0B0FFB0B0B0FFB0B0
            B0FFB0B0B0FFB0B0B0FFF4FFC4FFCACACAFF3F3F3FFFFFFFFFFF8E5700FFFFEE
            D3FFFFC160FFEC9712FF9C7942FF55130000F5FFCAFFF5FFCAFFF5FFCAFFF5FF
            CAFFF5FFCAFFF5FFCAFFF5FFCAFFCFCFCFFF3F3F3FFFFFFFFFFF551300005513
            000055130000551300005513000055130000BFBFBFFFBFBFBFFFBFBFBFFFBFBF
            BFFFBFBFBFFFBFBFBFFFF6FFD0FFD4D4D4FF3F3F3FFF8E5700FFFDEEF1FFF8C3
            CEFFF297ABFFE17A81FFC16D50FFA25F1FFF55130000F7FFD5FFF7FFD5FFF7FF
            D5FFF7FFD5FFF7FFD5FFF7FFD5FFD9D9D9FF3F3F3FFF8E5700FF8E5700FF8E57
            00FF8E5700FF8E5700FF8E5700FF8E5700FF55130000CECECEFFF8FFDBFFF8FF
            DBFFF8FFDBFFF8FFDBFFF8FFDBFFDEDEDEFF3F3F3FFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFF3F3F3FFFF9FFE0FFF9FFE0FFF9FFE0FFF9FFE0FFF9FFE0FFF9FF
            E0FFF9FFE0FFF9FFE0FFF9FFE0FFF9FFE0FF3F3F3FFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F
            3FFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F3FFF3F3F3FFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
          TabOrder = 0
          OnClick = btnOperationClick
        end
        object chkSaveParams: TcxCheckBox
          Left = 556
          Top = 11
          Caption = #20445#23384#36816#31639#21442#25968
          State = cbsChecked
          TabOrder = 3
          Transparent = True
        end
        object chkJoinMach: TcxCheckBox
          Left = 453
          Top = 11
          Hint = #21512#24182#29983#20135#24314#35758#21487#33021#20250#26080#27861#20934#30830#23450#20301#36816#31639#30340#38144#21806#35746#21333#25110#29983#20135#35745#21010
          Caption = #21512#24182#29983#20135#24314#35758
          TabOrder = 4
          Transparent = True
        end
        object chkJoinPur: TcxCheckBox
          Left = 356
          Top = 11
          Hint = #21512#24182#37319#36141#24314#35758#21487#33021#20250#26080#27861#20934#30830#23450#20301#36816#31639#30340#38144#21806#35746#21333#25110#29983#20135#35745#21010
          Caption = #21512#24182#37319#36141#24314#35758
          TabOrder = 5
          Transparent = True
        end
      end
      object pnlManufacture: TPanel
        Left = 0
        Top = 69
        Width = 880
        Height = 28
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 2
        object chkWasteQty: TcxCheckBox
          Left = 16
          Top = 1
          Caption = #25439#32791#37327
          State = cbsChecked
          TabOrder = 0
          Transparent = True
        end
        object chkSub: TcxCheckBox
          Left = 101
          Top = 1
          Caption = #26367#20195#21697
          State = cbsChecked
          TabOrder = 1
          Transparent = True
        end
        object chkMakingQty: TcxCheckBox
          Left = 191
          Top = 1
          Hint = #22312#21152#24037#20135#25104#21697#21322#25104#21697#25968#37327
          Caption = #22312#21152#24037#37327
          State = cbsChecked
          TabOrder = 2
          Transparent = True
        end
        object chkBespokeQty: TcxCheckBox
          Left = 288
          Top = 1
          Hint = #21152#24037#36135#21697#25152#38656#21407#26448#26009#25968#37327
          Caption = #21152#24037#39044#32422#37327
          State = cbsChecked
          TabOrder = 3
          Transparent = True
        end
      end
      object pnlDepot: TPanel
        Left = 0
        Top = 41
        Width = 880
        Height = 28
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 1
        object chkDepot: TcxCheckBox
          Left = 16
          Top = 5
          Caption = #24403#21069#24211#23384
          State = cbsChecked
          TabOrder = 1
          Transparent = True
          OnClick = chkDepotClick
        end
        object rdFactDepot: TcxRadioButton
          Left = 194
          Top = 7
          Width = 87
          Height = 17
          Caption = #23454#38469#24211#23384
          Checked = True
          TabOrder = 7
          TabStop = True
          OnClick = rdFactDepotClick
          Transparent = True
        end
        object rdBookDepot: TcxRadioButton
          Left = 104
          Top = 7
          Width = 81
          Height = 18
          Caption = #24080#38754#24211#23384
          TabOrder = 6
          OnClick = rdFactDepotClick
          Transparent = True
        end
        object chkCompletedQty: TcxCheckBox
          Left = 288
          Top = 5
          Caption = #20135#25104#21697#24211#23384
          State = cbsChecked
          TabOrder = 2
          Transparent = True
        end
        object chkImpropriateQty: TcxCheckBox
          Left = 384
          Top = 5
          Caption = #21344#29992#37327
          State = cbsChecked
          TabOrder = 3
          Transparent = True
        end
        object chkSafeQty: TcxCheckBox
          Left = 463
          Top = 5
          Caption = #23433#20840#24211#23384#37327
          State = cbsChecked
          TabOrder = 4
          Transparent = True
        end
        object chkEarlyPeriod: TcxCheckBox
          Left = 556
          Top = 5
          Caption = #25552#21069#26399
          State = cbsChecked
          TabOrder = 5
          Transparent = True
        end
        object edtDepot: TcxCheckComboBox
          Left = 628
          Top = 4
          Properties.EmptySelectionText = #20840#37096#20179#24211
          Properties.ImmediatePost = True
          Properties.Items = <
            item
            end>
          TabOrder = 0
          Width = 150
        end
      end
      object grdPlan: TcxGrid
        Left = 0
        Top = 125
        Width = 880
        Height = 234
        Hint = #35831#36873#25321#20027#29983#20135#35745#21010#25110#38144#21806#35746#21333#25110#36135#21697
        Align = alClient
        TabOrder = 0
        object viewPlan: TcxGridDBTableView
          PopupMenu = pmPlan
          OnMouseDown = viewPlanMouseDown
          Navigator.Buttons.CustomButtons = <>
          OnCustomDrawCell = viewPlanCustomDrawCell
          OnFocusedItemChanged = viewPlanFocusedItemChanged
          OnFocusedRecordChanged = viewPlanFocusedRecordChanged
          DataController.DataSource = dsPlan
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusFirstCellOnNewRecord = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.IncSearch = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsData.Appending = True
          OptionsView.NoDataToDisplayInfoText = #35831#36873#25321#20027#29983#20135#35745#21010#25110#38144#21806#35746#21333#25110#36135#21697
          OptionsView.ShowEditButtons = gsebForFocusedRecord
          OptionsView.ColumnAutoWidth = True
          OptionsView.ExpandButtonsForEmptyDetails = False
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
          object viewPlanchoice: TcxGridDBColumn
            DataBinding.FieldName = 'choice'
            HeaderAlignmentHorz = taCenter
            Width = 29
          end
          object viewPlanbdate: TcxGridDBColumn
            DataBinding.FieldName = 'bdate'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 76
          end
          object viewPlanbcode: TcxGridDBColumn
            DataBinding.FieldName = 'bcode'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 66
          end
          object viewPlancompletedate: TcxGridDBColumn
            DataBinding.FieldName = 'completedate'
            HeaderAlignmentHorz = taCenter
            Width = 59
          end
          object viewPlanp_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 69
          end
          object viewPlanproductid: TcxGridDBColumn
            DataBinding.FieldName = 'productid'
            PropertiesClassName = 'TcxLookupComboBoxProperties'
            Properties.ListColumns = <>
            HeaderAlignmentHorz = taCenter
            Width = 72
          end
          object viewPlanp_spec: TcxGridDBColumn
            DataBinding.FieldName = 'p_spec'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 102
          end
          object viewPlanbomid: TcxGridDBColumn
            DataBinding.FieldName = 'bomid'
            PropertiesClassName = 'TcxLookupComboBoxProperties'
            Properties.ListColumns = <>
          end
          object viewPlanunitname: TcxGridDBColumn
            DataBinding.FieldName = 'unitname'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 77
          end
          object viewPlancustom1: TcxGridDBColumn
            DataBinding.FieldName = 'custom1'
            Visible = False
            Options.Editing = False
            Width = 80
          end
          object viewPlancustom2: TcxGridDBColumn
            DataBinding.FieldName = 'custom2'
            Visible = False
            Options.Editing = False
            Width = 80
          end
          object viewPlancustom3: TcxGridDBColumn
            DataBinding.FieldName = 'custom3'
            Visible = False
            Options.Editing = False
            Width = 80
          end
          object viewPlanplanqty: TcxGridDBColumn
            DataBinding.FieldName = 'planqty'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 82
          end
          object viewPlanreleasedqty: TcxGridDBColumn
            DataBinding.FieldName = 'releasedqty'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 76
          end
          object viewPlanquantity: TcxGridDBColumn
            DataBinding.FieldName = 'quantity'
            HeaderAlignmentHorz = taCenter
            Width = 77
          end
          object viewPlanassqty: TcxGridDBColumn
            DataBinding.FieldName = 'assqty'
            Visible = False
            Options.Editing = False
          end
          object viewPlant_name: TcxGridDBColumn
            DataBinding.FieldName = 't_name'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 100
          end
          object viewPlancustom4: TcxGridDBColumn
            DataBinding.FieldName = 'custom4'
            Visible = False
            Width = 80
          end
          object viewPlancustom5: TcxGridDBColumn
            DataBinding.FieldName = 'custom5'
            Visible = False
            Width = 80
          end
          object viewPlancustom6: TcxGridDBColumn
            DataBinding.FieldName = 'custom6'
            Visible = False
            Width = 80
          end
          object viewPlancustom7: TcxGridDBColumn
            DataBinding.FieldName = 'custom7'
            Visible = False
            Width = 80
          end
          object viewPlancustom8: TcxGridDBColumn
            DataBinding.FieldName = 'custom8'
            Visible = False
            Width = 80
          end
          object viewPlancustom9: TcxGridDBColumn
            DataBinding.FieldName = 'custom9'
            Visible = False
            Width = 80
          end
          object viewPlancustom10: TcxGridDBColumn
            DataBinding.FieldName = 'custom10'
            Visible = False
            Width = 80
          end
          object viewPlancustom11: TcxGridDBColumn
            DataBinding.FieldName = 'custom11'
            Visible = False
            Width = 80
          end
          object viewPlancustom12: TcxGridDBColumn
            DataBinding.FieldName = 'custom12'
            Visible = False
            Width = 80
          end
          object viewPlancustom13: TcxGridDBColumn
            DataBinding.FieldName = 'custom13'
            Visible = False
            Width = 80
          end
          object viewPlancustom14: TcxGridDBColumn
            DataBinding.FieldName = 'custom14'
            Visible = False
            Width = 80
          end
          object viewPlancustom15: TcxGridDBColumn
            DataBinding.FieldName = 'custom15'
            Visible = False
            Width = 80
          end
        end
        object lvlPlan: TcxGridLevel
          GridView = viewPlan
          Options.TabsForEmptyDetails = False
        end
      end
      object pnlBill: TPanel
        Left = 0
        Top = 97
        Width = 880
        Height = 28
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 3
        object chkSaleOrder: TcxCheckBox
          Left = 16
          Top = -1
          Caption = #38144#21806#22312#35746#37327
          TabOrder = 0
          Transparent = True
          OnClick = chkSaleOrderClick
        end
        object chkOverSaleOrder: TcxCheckBox
          Left = 101
          Top = -1
          Caption = #36229#26399#38144#21806#35746#21333
          Enabled = False
          TabOrder = 1
          Transparent = True
        end
        object chkPurOrder: TcxCheckBox
          Left = 191
          Top = -1
          Caption = #37319#36141#22312#35746#37327
          State = cbsChecked
          TabOrder = 2
          Transparent = True
          OnClick = chkPurOrderClick
        end
        object chkOverPurOrder: TcxCheckBox
          Left = 288
          Top = -1
          Caption = #36229#26399#37319#36141#35746#21333
          Enabled = False
          TabOrder = 3
          Transparent = True
        end
        object chkRequest: TcxCheckBox
          Left = 384
          Top = -1
          Caption = #35831#37197#21333
          TabOrder = 4
          Transparent = True
        end
        object chkDistribute: TcxCheckBox
          Left = 463
          Top = -1
          Caption = #37197#36865#21333
          TabOrder = 5
          Transparent = True
        end
        object chkPurRequest: TcxCheckBox
          Left = 556
          Top = -1
          Caption = #35831#36141#21333
          TabOrder = 6
          Transparent = True
        end
      end
      object pgcIndustry: TPageControl
        Left = 0
        Top = 0
        Width = 880
        Height = 41
        ActivePage = tsIndustry
        Align = alTop
        Style = tsFlatButtons
        TabHeight = 12
        TabOrder = 5
        Visible = False
        object tsIndustry: TTabSheet
          Caption = #34892#19994#24211#23384#20449#24687
          ImageIndex = 1
          object lblCoarse: TcxLabel
            Left = 461
            Top = 9
            Caption = #27611#36793'          mm'
          end
          object edtCoarse: TcxSpinEdit
            Left = 490
            Top = 7
            Properties.MaxValue = 10.000000000000000000
            Properties.MinValue = 2.000000000000000000
            Properties.ValueType = vtFloat
            TabOrder = 0
            Value = 3.000000000000000000
            Width = 50
          end
          object cxLabel1: TcxLabel
            Left = 152
            Top = 8
            Caption = #20998#26465
          end
          object cxLabel2: TcxLabel
            Left = 307
            Top = 8
            Caption = #21367#26009
          end
          object edtBarIndex: TcxComboBox
            Left = 180
            Top = 6
            Properties.ImmediatePost = True
            Properties.Items.Strings = (
              #20808#23485#26465#21518#31364#26465
              #20808#31364#26465#21518#23485#26465)
            TabOrder = 1
            Text = #20808#23485#26465#21518#31364#26465
            Width = 100
          end
          object edtRollRaw: TcxComboBox
            Left = 334
            Top = 6
            Properties.ImmediatePost = True
            Properties.Items.Strings = (
              #20808#37325#21367#21518#36731#21367
              #20808#36731#21367#21518#37325#21367)
            TabOrder = 2
            Text = #20808#37325#21367#21518#36731#21367
            Width = 100
          end
          object chkBreakRaw: TcxCheckBox
            Left = 12
            Top = 5
            Caption = #19981#30772#26009#65288#21253#36793#26009#65289
            TabOrder = 6
          end
        end
      end
    end
    object tsGrossRequirementTree: TcxTabSheet
      Caption = #27611#38656#27714' '#26641
      ImageIndex = 1
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object tvGross: TcxTreeView
        Left = 0
        Top = 0
        Width = 880
        Height = 399
        Align = alClient
        TabOrder = 0
      end
    end
    object tsGrossRequirementList: TcxTabSheet
      Caption = #27611#38656#27714' '#34920
      ImageIndex = 3
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object Panel2: TPanel
        Left = 0
        Top = 0
        Width = 880
        Height = 28
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 0
      end
      object grdGrossRequest: TcxGrid
        Left = 0
        Top = 28
        Width = 880
        Height = 371
        Align = alClient
        TabOrder = 1
        ExplicitTop = 30
        object viewGrossRequest: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsGrossRequest
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusFirstCellOnNewRecord = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsCustomize.ColumnGrouping = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsView.ColumnAutoWidth = True
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
          object viewGrossRequestlevel: TcxGridDBColumn
            DataBinding.FieldName = 'level'
            Width = 33
          end
          object viewGrossRequestp_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            Width = 127
          end
          object viewGrossRequestp_name: TcxGridDBColumn
            DataBinding.FieldName = 'p_name'
            Width = 189
          end
          object viewGrossRequestp_spec: TcxGridDBColumn
            DataBinding.FieldName = 'p_spec'
            Width = 201
          end
          object viewGrossRequestbomname: TcxGridDBColumn
            DataBinding.FieldName = 'bomname'
            Width = 120
          end
          object viewGrossRequestunitname: TcxGridDBColumn
            DataBinding.FieldName = 'unitname'
            Width = 100
          end
          object viewGrossRequestrawqty: TcxGridDBColumn
            DataBinding.FieldName = 'rawqty'
            Width = 135
          end
        end
        object lvlGrossRequest: TcxGridLevel
          GridView = viewGrossRequest
        end
      end
    end
    object tsNetRequirement: TcxTabSheet
      Caption = #20928#38656#27714
      ImageIndex = 2
      object Panel4: TPanel
        Left = 0
        Top = 0
        Width = 880
        Height = 50
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 0
        object rgpNetWork: TcxRadioGroup
          Left = 12
          Top = 4
          BiDiMode = bdLeftToRight
          Caption = #24037#20316#26085#21382
          ParentBiDiMode = False
          ParentFont = False
          Properties.Columns = 3
          Properties.ImmediatePost = True
          Properties.Items = <
            item
              Caption = #26085
            end
            item
              Caption = #21608
            end
            item
              Caption = #26376
            end>
          Properties.OnChange = rgpNetWorkPropertiesChange
          ItemIndex = 2
          Style.Font.Charset = GB2312_CHARSET
          Style.Font.Color = clWindowText
          Style.Font.Height = -12
          Style.Font.Name = #23435#20307
          Style.Font.Style = []
          Style.IsFontAssigned = True
          TabOrder = 0
          Height = 41
          Width = 240
          object lblAdd: TcxLabel
            Left = 96
            Top = -2
            Caption = #20928#38656#27714#22686#21152
            ParentColor = False
            Style.Color = clBtnFace
            Style.TextColor = clRed
          end
          object lblSubtract: TcxLabel
            Left = 168
            Top = -2
            Caption = #20928#38656#27714#20943#23569
            Style.TextColor = clGreen
          end
        end
      end
      object grdNetRequest: TcxGrid
        Left = 0
        Top = 50
        Width = 880
        Height = 349
        Align = alClient
        TabOrder = 1
        ExplicitLeft = -16
        ExplicitTop = 47
        object viewNetRequest: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          OnCustomDrawCell = viewNetRequestCustomDrawCell
          DataController.DataSource = dsNetRequest
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusFirstCellOnNewRecord = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsCustomize.ColumnGrouping = False
          OptionsData.Deleting = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
          object viewNetRequestlevel: TcxGridDBColumn
            DataBinding.FieldName = 'level'
            Width = 20
          end
          object viewNetRequestp_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            Width = 59
          end
          object viewNetRequestp_name: TcxGridDBColumn
            DataBinding.FieldName = 'p_name'
            Width = 118
          end
          object viewNetRequestp_spec: TcxGridDBColumn
            DataBinding.FieldName = 'p_spec'
            Width = 117
          end
          object viewNetRequestunitname: TcxGridDBColumn
            DataBinding.FieldName = 'unitname'
            Width = 45
          end
          object viewNetRequestneeddate: TcxGridDBColumn
            DataBinding.FieldName = 'needdate'
            Width = 80
          end
          object viewNetRequestgross: TcxGridDBColumn
            DataBinding.FieldName = 'gross'
            Width = 80
          end
          object viewNetRequestbookqty: TcxGridDBColumn
            DataBinding.FieldName = 'bookqty'
            Width = 80
          end
          object viewNetRequestsafeqty: TcxGridDBColumn
            DataBinding.FieldName = 'safeqty'
            Width = 80
          end
          object viewNetRequestwasteqty: TcxGridDBColumn
            DataBinding.FieldName = 'wasteqty'
            Width = 80
          end
          object viewNetRequestusedqty: TcxGridDBColumn
            DataBinding.FieldName = 'usedqty'
            Width = 80
          end
          object viewNetRequestsaleorderqty: TcxGridDBColumn
            DataBinding.FieldName = 'saleorderqty'
            Width = 80
          end
          object viewNetRequestpurorderqty: TcxGridDBColumn
            DataBinding.FieldName = 'purorderqty'
            Width = 80
          end
          object viewNetRequestmnforderqty: TcxGridDBColumn
            DataBinding.FieldName = 'mnforderqty'
            Width = 80
          end
          object viewNetRequestmakingqty: TcxGridDBColumn
            DataBinding.FieldName = 'makingqty'
            Width = 80
          end
          object viewNetRequestsubqty: TcxGridDBColumn
            DataBinding.FieldName = 'subqty'
            Width = 80
          end
          object viewNetRequestrequestqty: TcxGridDBColumn
            DataBinding.FieldName = 'requestqty'
            Width = 80
          end
          object viewNetRequestdistributeqty: TcxGridDBColumn
            DataBinding.FieldName = 'distributeqty'
            Width = 80
          end
          object viewNetRequestoversaleqty: TcxGridDBColumn
            DataBinding.FieldName = 'oversaleqty'
            Width = 80
          end
          object viewNetRequestoverpurchaseqty: TcxGridDBColumn
            DataBinding.FieldName = 'overpurchaseqty'
            Width = 80
          end
          object viewNetRequestprequestqty: TcxGridDBColumn
            DataBinding.FieldName = 'prequestqty'
            Width = 80
          end
          object viewNetRequestnetqty: TcxGridDBColumn
            DataBinding.FieldName = 'netqty'
            Width = 80
          end
        end
        object lvlNetRequest: TcxGridLevel
          GridView = viewNetRequest
        end
      end
    end
    object tsMachining: TcxTabSheet
      Caption = #29983#20135#24314#35758
      ImageIndex = 4
      object grdManufacture: TcxGrid
        Left = 0
        Top = 0
        Width = 472
        Height = 359
        Align = alClient
        TabOrder = 0
        object viewManufacture: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsMnfPropose
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusFirstCellOnNewRecord = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsData.Appending = True
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
          object viewManufacturechoice: TcxGridDBColumn
            DataBinding.FieldName = 'choice'
            Width = 30
          end
          object viewManufacturebcode: TcxGridDBColumn
            DataBinding.FieldName = 'bcode'
            Visible = False
            Options.Editing = False
            Width = 100
          end
          object viewManufacturep_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            Options.Editing = False
            Width = 80
          end
          object viewManufacturep_name: TcxGridDBColumn
            DataBinding.FieldName = 'p_name'
            Options.Editing = False
            Width = 100
          end
          object viewManufacturespec: TcxGridDBColumn
            DataBinding.FieldName = 'spec'
            Options.Editing = False
            Width = 80
          end
          object viewManufactureunitname: TcxGridDBColumn
            DataBinding.FieldName = 'unitname'
            Options.Editing = False
            Width = 40
          end
          object viewManufactureassqty: TcxGridDBColumn
            Caption = #36741#21161#21333#20301
            DataBinding.FieldName = 'assqty'
            Visible = False
            Width = 60
          end
          object viewManufacturesugqty: TcxGridDBColumn
            DataBinding.FieldName = 'sugqty'
            Width = 60
          end
          object viewManufacturebatchcode: TcxGridDBColumn
            DataBinding.FieldName = 'batchcode'
            Visible = False
            Options.Editing = False
            Width = 80
          end
          object viewManufactureprice: TcxGridDBColumn
            DataBinding.FieldName = 'price'
            Options.Editing = False
            Width = 60
          end
          object viewManufactureamount: TcxGridDBColumn
            DataBinding.FieldName = 'amount'
            Options.Editing = False
            Width = 60
          end
          object viewManufacturestartdate: TcxGridDBColumn
            DataBinding.FieldName = 'startdate'
            Width = 80
          end
          object viewManufacturecompletedate: TcxGridDBColumn
            DataBinding.FieldName = 'completedate'
            Width = 80
          end
          object viewManufactureworkshopid: TcxGridDBColumn
            DataBinding.FieldName = 'workshopid'
            Width = 75
          end
          object viewManufactureempid: TcxGridDBColumn
            DataBinding.FieldName = 'empid'
            Width = 60
          end
          object viewManufacturetraderid: TcxGridDBColumn
            Caption = #22996#22806#21152#24037#21830
            DataBinding.FieldName = 'traderid'
            Width = 75
          end
          object viewManufacturecustom1: TcxGridDBColumn
            DataBinding.FieldName = 'custom1'
            Visible = False
            Width = 100
          end
          object viewManufacturecustom2: TcxGridDBColumn
            DataBinding.FieldName = 'custom2'
            Visible = False
            Width = 100
          end
          object viewManufacturecustom3: TcxGridDBColumn
            DataBinding.FieldName = 'custom3'
            Visible = False
            Width = 100
          end
          object viewManufacturecustom12: TcxGridDBColumn
            DataBinding.FieldName = 'custom12'
            Visible = False
          end
        end
        object lvlManufacture: TcxGridLevel
          GridView = viewManufacture
        end
      end
      object Panel6: TPanel
        Left = 0
        Top = 359
        Width = 880
        Height = 40
        Align = alBottom
        BevelOuter = bvNone
        TabOrder = 4
        DesignSize = (
          880
          40)
        object btnMnfMachining: TcxButton
          Tag = 1010
          Left = 10
          Top = 9
          Width = 100
          Height = 25
          Caption = #19979#36798#29983#20135#21152#24037#21333
          TabOrder = 0
          OnClick = btnMnfMachiningClick
        end
        object btnConMachining: TcxButton
          Tag = 1110
          Left = 135
          Top = 9
          Width = 100
          Height = 25
          Caption = #19979#36798#22996#25176#21152#24037#21333
          TabOrder = 1
          OnClick = btnMnfMachiningClick
        end
        object chkAllMachining: TcxCheckBox
          Left = 785
          Top = 11
          Hint = #21512#24182#29983#20135#26102#26080#27861#36319#36394#20855#20307#30340#38144#21806#35746#21333#25110#29983#20135#35745#21010#21333
          Anchors = [akTop, akRight]
          Caption = #21512#24182#29983#20135
          State = cbsChecked
          TabOrder = 2
        end
      end
      object grdRawMaterials: TcxGrid
        Left = 480
        Top = 0
        Width = 400
        Height = 359
        Align = alRight
        TabOrder = 1
        Visible = False
        object viewRawMaterials: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsRawMaterials
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Inserting = False
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
          object viewRawMaterialsp_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialsp_name: TcxGridDBColumn
            DataBinding.FieldName = 'p_name'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialsp_spec: TcxGridDBColumn
            DataBinding.FieldName = 'p_spec'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialsbatchcode: TcxGridDBColumn
            DataBinding.FieldName = 'batchcode'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialscanuseqty: TcxGridDBColumn
            DataBinding.FieldName = 'canuseqty'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialscanuseassqty: TcxGridDBColumn
            Caption = #21487#29992#23485#24230
            DataBinding.FieldName = 'canuseassqty'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialspackqty: TcxGridDBColumn
            DataBinding.FieldName = 'packqty'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialsuseqty: TcxGridDBColumn
            DataBinding.FieldName = 'useqty'
            Width = 60
          end
          object viewRawMaterialscoarseqty: TcxGridDBColumn
            DataBinding.FieldName = 'coarseqty'
          end
          object viewRawMaterialsuseassqty: TcxGridDBColumn
            Caption = #26412#27425#20351#29992#23485#24230
            DataBinding.FieldName = 'useassqty'
            Options.Editing = False
            Width = 60
          end
          object viewRawMaterialscustom1: TcxGridDBColumn
            DataBinding.FieldName = 'custom1'
            Visible = False
            Options.Editing = False
            Width = 100
          end
          object viewRawMaterialscustom2: TcxGridDBColumn
            DataBinding.FieldName = 'custom2'
            Visible = False
            Options.Editing = False
            Width = 100
          end
          object viewRawMaterialscustom3: TcxGridDBColumn
            DataBinding.FieldName = 'custom3'
            Visible = False
            Options.Editing = False
            Width = 100
          end
        end
        object lvlRawMaterials: TcxGridLevel
          GridView = viewRawMaterials
        end
      end
      object spRawMaterials: TcxSplitter
        Left = 472
        Top = 0
        Width = 8
        Height = 359
        HotZoneClassName = 'TcxXPTaskBarStyle'
        AlignSplitter = salRight
        Control = grdRawMaterials
        Visible = False
      end
      object pnlSplitProduct: TPanel
        Left = 76
        Top = 160
        Width = 341
        Height = 145
        TabOrder = 2
        Visible = False
        DesignSize = (
          341
          145)
        object btnSplit: TcxButton
          Left = 168
          Top = 104
          Width = 75
          Height = 25
          Anchors = [akRight, akBottom]
          Caption = #30830#23450
          Default = True
          TabOrder = 2
          OnClick = btnSplitClick
        end
        object btnCancelSplit: TcxButton
          Left = 252
          Top = 104
          Width = 75
          Height = 25
          Anchors = [akRight, akBottom]
          Caption = #21462#28040
          TabOrder = 6
          OnClick = btnCancelSplitClick
        end
        object lblSplitProduct: TcxLabel
          Left = 15
          Top = 24
          Caption = #25286#20998#36135#21697
        end
        object edtQuantity: TcxSpinEdit
          Left = 248
          Top = 68
          TabOrder = 1
          Width = 80
        end
        object edtRoll: TcxDBLookupComboBox
          Left = 15
          Top = 68
          DataBinding.DataField = 'relationpid'
          DataBinding.DataSource = dsSplit
          Properties.DropDownSizeable = True
          Properties.GridMode = True
          Properties.ImmediatePost = True
          Properties.KeyFieldNames = 'tid'
          Properties.ListColumns = <
            item
              FieldName = 'p_code'
            end
            item
              FieldName = 'p_name'
            end
            item
              FieldName = 'batchcode'
            end>
          Properties.ListFieldIndex = 2
          Properties.ListSource = dsRawMaterials
          TabOrder = 0
          Width = 180
        end
        object cxLabel5: TcxLabel
          Left = 15
          Top = 52
          Caption = #21487#29992#21367#26009
        end
        object lblQuantity: TcxLabel
          Left = 248
          Top = 52
          Caption = #25286#20998#26465#25968
        end
      end
    end
    object tsPurchase: TcxTabSheet
      Caption = #37319#36141#24314#35758
      ImageIndex = 5
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object Panel3: TPanel
        Left = 0
        Top = 0
        Width = 880
        Height = 28
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 0
        object chkMinPurOrderQty: TcxCheckBox
          Left = 16
          Top = 5
          Caption = #26368#23567#35746#36135#25209#37327
          TabOrder = 0
          OnClick = chkMinPurOrderQtyClick
        end
        object chkPurOrderAddQty: TcxCheckBox
          Left = 137
          Top = 5
          Caption = #35746#36135#22686#37327
          TabOrder = 1
          OnClick = chkPurOrderAddQtyClick
        end
      end
      object grdPurchase: TcxGrid
        Left = 0
        Top = 28
        Width = 880
        Height = 331
        Align = alClient
        TabOrder = 1
        object viewPurchase: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsPurPropose
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusFirstCellOnNewRecord = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsData.Appending = True
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
          object viewPurchasechoice: TcxGridDBColumn
            DataBinding.FieldName = 'choice'
          end
          object viewPurchasep_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            Options.Editing = False
            Width = 107
          end
          object viewPurchasep_name: TcxGridDBColumn
            DataBinding.FieldName = 'p_name'
            Options.Editing = False
            Width = 116
          end
          object viewPurchasespec: TcxGridDBColumn
            DataBinding.FieldName = 'spec'
            Options.Editing = False
            Width = 102
          end
          object viewPurchaseunitname: TcxGridDBColumn
            DataBinding.FieldName = 'unitname'
            Options.Editing = False
            Width = 76
          end
          object viewPurchasenetqty: TcxGridDBColumn
            DataBinding.FieldName = 'netqty'
            Options.Editing = False
          end
          object viewPurchasesugqty: TcxGridDBColumn
            DataBinding.FieldName = 'sugqty'
          end
          object viewPurchaseprice: TcxGridDBColumn
            DataBinding.FieldName = 'price'
          end
          object viewPurchaseamount: TcxGridDBColumn
            DataBinding.FieldName = 'amount'
          end
          object viewPurchasetraderid: TcxGridDBColumn
            DataBinding.FieldName = 'traderid'
            PropertiesClassName = 'TcxLookupComboBoxProperties'
            Properties.ListColumns = <>
          end
          object viewPurchaseorderdate: TcxGridDBColumn
            DataBinding.FieldName = 'orderdate'
          end
          object viewPurchasebaldate: TcxGridDBColumn
            DataBinding.FieldName = 'baldate'
          end
          object viewPurchaseminOrderQty: TcxGridDBColumn
            DataBinding.FieldName = 'minOrderQty'
          end
          object viewPurchaseincOrderQty: TcxGridDBColumn
            DataBinding.FieldName = 'incOrderQty'
          end
          object viewPurchasefixqty: TcxGridDBColumn
            DataBinding.FieldName = 'fixqty'
          end
        end
        object lvlPurchase: TcxGridLevel
          GridView = viewPurchase
        end
      end
      object Panel7: TPanel
        Left = 0
        Top = 359
        Width = 880
        Height = 40
        Align = alBottom
        BevelOuter = bvNone
        TabOrder = 2
        object btnMakePurOrder: TcxButton
          Tag = 110
          Left = 10
          Top = 9
          Width = 100
          Height = 25
          Caption = #19979#36798#37319#36141#35746#21333
          TabOrder = 0
          OnClick = btnMakePurOrderClick
        end
        object btnMakePurRequest: TcxButton
          Tag = 120
          Left = 135
          Top = 9
          Width = 100
          Height = 25
          Caption = #19979#36798#35831#36141#21333
          TabOrder = 1
          OnClick = btnMakePurOrderClick
        end
      end
    end
    object tsBudget: TcxTabSheet
      Caption = #36164#37329#39044#31639
      ImageIndex = 6
      object Panel5: TPanel
        Left = 0
        Top = 0
        Width = 880
        Height = 50
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 0
        object cxLabel4: TcxLabel
          Left = 211
          Top = 18
          Caption = #26085#24120#36153#29992
        end
        object edtDailyExpense: TcxCurrencyEdit
          Left = 276
          Top = 16
          EditValue = 0c
          Properties.EditFormat = #65509',0.00;'#65509'-,0.00'
          TabOrder = 1
          Width = 121
        end
        object rgpAmountWork: TcxRadioGroup
          Left = 12
          Top = 4
          BiDiMode = bdLeftToRight
          Caption = #24037#20316#26085#21382
          ParentBiDiMode = False
          ParentFont = False
          Properties.Columns = 3
          Properties.ImmediatePost = True
          Properties.Items = <
            item
              Caption = #26085
            end
            item
              Caption = #21608
            end
            item
              Caption = #26376
            end>
          ItemIndex = 2
          Style.Font.Charset = GB2312_CHARSET
          Style.Font.Color = clWindowText
          Style.Font.Height = -12
          Style.Font.Name = #23435#20307
          Style.Font.Style = []
          Style.IsFontAssigned = True
          TabOrder = 0
          Height = 41
          Width = 185
        end
      end
      object grdBudget: TcxGrid
        Left = 0
        Top = 50
        Width = 880
        Height = 349
        Align = alClient
        TabOrder = 1
        object viewBudget: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsBudget
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusFirstCellOnNewRecord = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsData.Appending = True
          OptionsView.ColumnAutoWidth = True
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
          object viewBudgetDate: TcxGridDBColumn
            DataBinding.FieldName = 'Date'
          end
          object viewBudgetStock: TcxGridDBColumn
            DataBinding.FieldName = 'Stock'
          end
          object viewBudgetCalcPay: TcxGridDBColumn
            DataBinding.FieldName = 'CalcPay'
          end
          object viewBudgetCalcCharge: TcxGridDBColumn
            DataBinding.FieldName = 'CalcCharge'
          end
          object viewBudgetMrpPurPropose: TcxGridDBColumn
            DataBinding.FieldName = 'MrpPurPropose'
          end
          object viewBudgetDailyExpense: TcxGridDBColumn
            DataBinding.FieldName = 'DailyExpense'
          end
          object viewBudgetLaborage: TcxGridDBColumn
            DataBinding.FieldName = 'Laborage'
          end
          object viewBudgetOnhand: TcxGridDBColumn
            DataBinding.FieldName = 'Onhand'
          end
          object viewBudgetStoreLower: TcxGridDBColumn
            DataBinding.FieldName = 'StoreLower'
          end
          object viewBudgetHardup: TcxGridDBColumn
            DataBinding.FieldName = 'Hardup'
          end
        end
        object lvlBudget: TcxGridLevel
          GridView = viewBudget
        end
      end
    end
    object tsNetGrossList: TcxTabSheet
      Caption = 'NetGrossList'
      ImageIndex = 7
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object grdNetGrossList: TcxGrid
        Left = 0
        Top = 0
        Width = 880
        Height = 399
        Align = alClient
        TabOrder = 0
        RootLevelOptions.DetailTabsPosition = dtpTop
        object viewNetList: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsNet
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          object viewNetListlevel: TcxGridDBColumn
            DataBinding.FieldName = 'level'
            Width = 40
          end
          object viewNetListproductpid: TcxGridDBColumn
            DataBinding.FieldName = 'productpid'
            Width = 40
          end
          object viewNetListproductid: TcxGridDBColumn
            DataBinding.FieldName = 'productid'
            Width = 40
          end
          object viewNetListp_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            Width = 80
          end
          object viewNetListp_name: TcxGridDBColumn
            DataBinding.FieldName = 'p_name'
            Width = 80
          end
          object viewNetListp_spec: TcxGridDBColumn
            DataBinding.FieldName = 'p_spec'
            Width = 80
          end
          object viewNetListunitname: TcxGridDBColumn
            DataBinding.FieldName = 'unitname'
            Width = 40
          end
          object viewNetListneeddate: TcxGridDBColumn
            DataBinding.FieldName = 'needdate'
            Width = 80
          end
          object viewNetListgross: TcxGridDBColumn
            DataBinding.FieldName = 'gross'
            Width = 80
          end
          object viewNetListbookqty: TcxGridDBColumn
            DataBinding.FieldName = 'bookqty'
            Width = 80
          end
          object viewNetListsafeqty: TcxGridDBColumn
            DataBinding.FieldName = 'safeqty'
            Width = 80
          end
          object viewNetListwasteqty: TcxGridDBColumn
            DataBinding.FieldName = 'wasteqty'
            Width = 80
          end
          object viewNetListusedqty: TcxGridDBColumn
            DataBinding.FieldName = 'usedqty'
            Width = 80
          end
          object viewNetListsaleorderqty: TcxGridDBColumn
            DataBinding.FieldName = 'saleorderqty'
            Width = 80
          end
          object viewNetListpurorderqty: TcxGridDBColumn
            DataBinding.FieldName = 'purorderqty'
            Width = 80
          end
          object viewNetListmnforderqty: TcxGridDBColumn
            DataBinding.FieldName = 'mnforderqty'
            Width = 80
          end
          object viewNetListmakingqty: TcxGridDBColumn
            DataBinding.FieldName = 'makingqty'
            Width = 80
          end
          object viewNetListsubqty: TcxGridDBColumn
            DataBinding.FieldName = 'subqty'
            Width = 80
          end
          object viewNetListnetqty: TcxGridDBColumn
            DataBinding.FieldName = 'netqty'
            Width = 80
          end
          object viewNetListmakesug: TcxGridDBColumn
            DataBinding.FieldName = 'makesug'
          end
          object viewNetListrequestqty: TcxGridDBColumn
            DataBinding.FieldName = 'requestqty'
            Width = 80
          end
          object viewNetListdistributeqty: TcxGridDBColumn
            DataBinding.FieldName = 'distributeqty'
            Width = 80
          end
          object viewNetListoversaleqty: TcxGridDBColumn
            DataBinding.FieldName = 'oversaleqty'
            Width = 80
          end
          object viewNetListoverpurchaseqty: TcxGridDBColumn
            DataBinding.FieldName = 'overpurchaseqty'
            Width = 80
          end
          object viewNetListprequestqty: TcxGridDBColumn
            DataBinding.FieldName = 'prequestqty'
            Width = 80
          end
          object viewNetListbid: TcxGridDBColumn
            DataBinding.FieldName = 'bid'
            Width = 40
          end
          object viewNetListbno: TcxGridDBColumn
            DataBinding.FieldName = 'bno'
            Width = 40
          end
          object viewNetListbtype: TcxGridDBColumn
            DataBinding.FieldName = 'btype'
            Width = 40
          end
          object viewNetListbomid: TcxGridDBColumn
            DataBinding.FieldName = 'bomid'
            Width = 40
          end
          object viewNetListtraderid: TcxGridDBColumn
            DataBinding.FieldName = 'traderid'
            Width = 40
          end
          object viewNetListsaleorderbcode: TcxGridDBColumn
            DataBinding.FieldName = 'saleorderbcode'
          end
          object viewNetListincid: TcxGridDBColumn
            DataBinding.FieldName = 'incid'
          end
        end
        object viewGrossList: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsGross
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          object viewGrossListrawqty: TcxGridDBColumn
            DataBinding.FieldName = 'rawqty'
            Width = 80
          end
          object viewGrossListproductpid: TcxGridDBColumn
            DataBinding.FieldName = 'productpid'
            Width = 40
          end
          object viewGrossListlevel: TcxGridDBColumn
            DataBinding.FieldName = 'level'
            Width = 40
          end
          object viewGrossListproductid: TcxGridDBColumn
            DataBinding.FieldName = 'productid'
            Width = 40
          end
          object viewGrossListp_code: TcxGridDBColumn
            DataBinding.FieldName = 'p_code'
            Width = 80
          end
          object viewGrossListp_name: TcxGridDBColumn
            DataBinding.FieldName = 'p_name'
            Width = 80
          end
          object viewGrossListp_spec: TcxGridDBColumn
            DataBinding.FieldName = 'p_spec'
            Width = 80
          end
          object viewGrossListunitname: TcxGridDBColumn
            DataBinding.FieldName = 'unitname'
            Width = 40
          end
          object viewGrossListquantity: TcxGridDBColumn
            DataBinding.FieldName = 'quantity'
            Width = 80
          end
          object viewGrossListbcodeqty: TcxGridDBColumn
            DataBinding.FieldName = 'bcodeqty'
            Width = 80
          end
          object viewGrossListbid: TcxGridDBColumn
            DataBinding.FieldName = 'bid'
            Width = 40
          end
          object viewGrossListbno: TcxGridDBColumn
            DataBinding.FieldName = 'bno'
            Width = 40
          end
          object viewGrossListbtype: TcxGridDBColumn
            DataBinding.FieldName = 'btype'
            Width = 40
          end
          object viewGrossListwasterate: TcxGridDBColumn
            DataBinding.FieldName = 'wasterate'
            Width = 80
          end
          object viewGrossListtraderid: TcxGridDBColumn
            DataBinding.FieldName = 'traderid'
            Width = 40
          end
          object viewGrossListbomid: TcxGridDBColumn
            DataBinding.FieldName = 'bomid'
            Width = 40
          end
          object viewGrossListbomname: TcxGridDBColumn
            DataBinding.FieldName = 'bomname'
            Width = 80
          end
          object viewGrossListneeddate: TcxGridDBColumn
            DataBinding.FieldName = 'needdate'
            Width = 80
          end
          object viewGrossListColumn1: TcxGridDBColumn
            DataBinding.FieldName = 'saleorderbcode'
          end
        end
        object lvlNetList: TcxGridLevel
          Caption = 'Net'
          GridView = viewNetList
        end
        object lvlGrossList: TcxGridLevel
          Caption = 'Gross'
          GridView = viewGrossList
        end
      end
    end
  end
  object cdsPlan: TClientDataSet
    Aggregates = <>
    Params = <>
    OnNewRecord = cdsPlanNewRecord
    Left = 12
    Top = 223
    object cdsPlanchoice: TBooleanField
      DisplayLabel = #36873#25321
      FieldName = 'choice'
    end
    object cdsPlanbid: TIntegerField
      DisplayLabel = #21333#25454'ID'
      FieldName = 'bid'
    end
    object cdsPlanbtype: TIntegerField
      FieldName = 'btype'
    end
    object cdsPlanbno: TIntegerField
      FieldName = 'bno'
    end
    object cdsPlanbdate: TDateTimeField
      DisplayLabel = #21333#25454#26085#26399
      FieldName = 'bdate'
    end
    object cdsPlanbcode: TStringField
      DisplayLabel = #21333#25454#32534#21495
      FieldName = 'bcode'
      Size = 64
    end
    object cdsPlancompletedate: TDateTimeField
      DisplayLabel = #23436#24037#26085#26399
      FieldName = 'completedate'
    end
    object cdsPlanproductid: TIntegerField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'productid'
      OnChange = cdsPlanproductidChange
    end
    object cdsPlanp_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 40
    end
    object cdsPlanp_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 60
    end
    object cdsPlanp_spec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'p_spec'
      Size = 60
    end
    object cdsPlanunitid: TIntegerField
      FieldName = 'unitid'
    end
    object cdsPlanunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 60
    end
    object cdsPlanplanqty: TFloatField
      DisplayLabel = #35745#21010#25968#37327
      FieldName = 'planqty'
    end
    object cdsPlancompletedqty: TFloatField
      DisplayLabel = #24050#19979#36798#25968#37327
      FieldName = 'releasedqty'
    end
    object cdsPlanquantity: TFloatField
      DisplayLabel = #26412#27425#35745#31639
      FieldName = 'quantity'
    end
    object cdsPlanrelationbid: TIntegerField
      FieldName = 'relationbid'
    end
    object cdsPlanfilid: TIntegerField
      FieldName = 'filid'
    end
    object cdsPlancustom1: TStringField
      FieldName = 'custom1'
      Size = 200
    end
    object cdsPlancustom2: TStringField
      FieldName = 'custom2'
      Size = 200
    end
    object cdsPlancustom3: TStringField
      FieldName = 'custom3'
      Size = 200
    end
    object cdsPlanassqty: TFloatField
      DisplayLabel = #36741#21161#25968#37327
      FieldName = 'assqty'
    end
    object cdsPlancustom12: TFloatField
      FieldName = 'custom12'
    end
    object cdsPlantraderid: TIntegerField
      FieldName = 'traderid'
    end
    object cdsPlant_name: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldName = 't_name'
      Size = 60
    end
    object cdsPlanbomid: TIntegerField
      DisplayLabel = #29289#26009#29256#26412
      FieldName = 'bomid'
      OnChange = cdsPlanbomidChange
    end
    object cdsPlanbomname: TStringField
      FieldName = 'bomname'
      Size = 60
    end
    object cdsPlansaleorderbcode: TStringField
      FieldName = 'saleorderbcode'
      Size = 60
    end
    object cdsPlanrelationbtype: TIntegerField
      FieldName = 'relationbtype'
    end
    object cdsPlancustom4: TStringField
      FieldName = 'custom4'
      Size = 200
    end
    object cdsPlancustom5: TStringField
      FieldName = 'custom5'
      Size = 200
    end
    object cdsPlancustom6: TStringField
      FieldName = 'custom6'
      Size = 200
    end
    object cdsPlancustom7: TStringField
      FieldName = 'custom7'
      Size = 200
    end
    object cdsPlancustom8: TStringField
      FieldName = 'custom8'
      Size = 200
    end
    object cdsPlancustom9: TStringField
      FieldName = 'custom9'
      Size = 200
    end
    object cdsPlancustom10: TStringField
      FieldName = 'custom10'
      Size = 200
    end
    object cdsPlancustom11: TFloatField
      FieldName = 'custom11'
    end
    object cdsPlancustom13: TFloatField
      FieldName = 'custom13'
    end
    object cdsPlancustom14: TFloatField
      FieldName = 'custom14'
    end
    object cdsPlancustom15: TFloatField
      FieldName = 'custom15'
    end
    object cdsPlanbillbomid: TIntegerField
      FieldName = 'billbomid'
    end
  end
  object dsPlan: TDataSource
    DataSet = cdsPlan
    Left = 12
    Top = 267
  end
  object cdsGrossRequest: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 100
    Top = 96
    object cdsGrossRequestclass: TIntegerField
      DisplayLabel = #32423#27425
      FieldName = 'level'
    end
    object cdsGrossRequestproductid: TIntegerField
      FieldName = 'productid'
    end
    object cdsGrossRequestp_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 40
    end
    object cdsGrossRequestp_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 60
    end
    object cdsGrossRequestp_spec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'p_spec'
      Size = 64
    end
    object cdsGrossRequestunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object cdsGrossRequestquantity: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'quantity'
      DisplayFormat = '0.####'
    end
    object cdsGrossRequestrawqty: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'rawqty'
      DisplayFormat = '0.####'
    end
    object cdsGrossRequestproductpid: TIntegerField
      FieldName = 'productpid'
    end
    object cdsGrossRequestbcodeqty: TStringField
      FieldName = 'bcodeqty'
      Size = 2000
    end
    object cdsGrossRequestbomname: TStringField
      DisplayLabel = #29289#26009#29256#26412
      FieldName = 'bomname'
      Size = 60
    end
    object cdsGrossRequestbomid: TIntegerField
      FieldName = 'bomid'
    end
    object cdsGrossRequestbid: TIntegerField
      FieldName = 'bid'
    end
    object cdsGrossRequestbno: TIntegerField
      FieldName = 'bno'
    end
  end
  object dsGrossRequest: TDataSource
    DataSet = cdsGrossRequest
    Left = 100
    Top = 139
  end
  object cdsNet: TClientDataSet
    Aggregates = <>
    Params = <>
    OnNewRecord = cdsNetNewRecord
    Left = 176
    Top = 96
    object cdsNetlevel: TIntegerField
      DisplayLabel = #32423#27425
      FieldName = 'level'
    end
    object cdsNetproductpid: TIntegerField
      DisplayLabel = #29238#20214
      FieldName = 'productpid'
    end
    object cdsNetproductid: TIntegerField
      FieldName = 'productid'
    end
    object cdsNetp_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 32
    end
    object cdsNetp_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 64
    end
    object cdsNetp_spec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'p_spec'
      Size = 64
    end
    object cdsNetunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object cdsNetneeddate: TDateTimeField
      DisplayLabel = #26085#26399
      FieldName = 'needdate'
    end
    object cdsNetgross: TFloatField
      DisplayLabel = #27611#38656#27714#37327
      FieldName = 'gross'
      DisplayFormat = '0.####'
    end
    object cdsNetbookqty: TFloatField
      DisplayLabel = #24403#21069#24211#23384
      FieldName = 'bookqty'
      DisplayFormat = '0.####'
    end
    object cdsNetsafeqty: TFloatField
      DisplayLabel = #23433#20840#24211#23384
      FieldName = 'safeqty'
      DisplayFormat = '0.####'
    end
    object cdsNetwasteqty: TFloatField
      DisplayLabel = #25439#32791#37327
      FieldName = 'wasteqty'
      DisplayFormat = '0.####'
    end
    object cdsNetusedqty: TFloatField
      DisplayLabel = #24050#21344#29992#37327
      FieldName = 'usedqty'
      DisplayFormat = '0.####'
    end
    object cdsNetsaleorderqty: TFloatField
      DisplayLabel = #38144#21806#22312#35746
      FieldName = 'saleorderqty'
      DisplayFormat = '0.####'
    end
    object cdsNetpurorderqty: TFloatField
      DisplayLabel = #37319#36141#22312#35746
      FieldName = 'purorderqty'
      DisplayFormat = '0.####'
    end
    object cdsNetmnforderqty: TFloatField
      DisplayLabel = #21152#24037#39044#32422#37327
      FieldName = 'mnforderqty'
      DisplayFormat = '0.####'
    end
    object cdsNetmakingqty: TFloatField
      DisplayLabel = #22312#21152#24037#37327
      FieldName = 'makingqty'
      DisplayFormat = '0.####'
    end
    object cdsNetsubqty: TFloatField
      DisplayLabel = #20351#29992#26367#20195#21697
      FieldName = 'subqty'
      DisplayFormat = '0.####'
    end
    object cdsNetnetqty: TFloatField
      DisplayLabel = #20928#38656#27714#37327
      FieldName = 'netqty'
      DisplayFormat = '0.####'
    end
    object cdsNetmakesug: TFloatField
      DisplayLabel = #29983#20135#37319#36141#24314#35758#25968
      FieldName = 'makesug'
    end
    object cdsNetrequestqty: TFloatField
      DisplayLabel = #24050#35831#24453#37197
      FieldName = 'requestqty'
    end
    object cdsNetdistributeqty: TFloatField
      DisplayLabel = #24050#37197#24453#35843
      FieldName = 'distributeqty'
    end
    object cdsNetoversaleqty: TFloatField
      DisplayLabel = #36229#26399#38144#21806#22312#35746
      FieldName = 'oversaleqty'
    end
    object cdsNetoverpurchaseqty: TFloatField
      DisplayLabel = #36229#26399#37319#36141#22312#35746
      FieldName = 'overpurchaseqty'
    end
    object cdsNetprequestqty: TFloatField
      DisplayLabel = #24050#35831#24453#35746
      FieldName = 'prequestqty'
    end
    object cdsNetbid: TIntegerField
      FieldName = 'bid'
    end
    object cdsNetbno: TIntegerField
      FieldName = 'bno'
    end
    object cdsNetbtype: TIntegerField
      FieldName = 'btype'
    end
    object cdsNetbomid: TIntegerField
      FieldName = 'bomid'
    end
    object cdsNettraderid: TIntegerField
      FieldName = 'traderid'
    end
    object cdsNetbcode: TStringField
      FieldName = 'bcode'
      Size = 60
    end
    object cdsNetincid: TAutoIncField
      FieldName = 'incid'
    end
    object cdsNetwasterate: TFloatField
      FieldName = 'wasterate'
    end
    object cdsNetsaleorderbcode: TStringField
      FieldName = 'saleorderbcode'
      Size = 40
    end
  end
  object dsNetRequest: TDataSource
    DataSet = cdsNetRequest
    Left = 184
    Top = 147
  end
  object cdsMnfPropose: TClientDataSet
    Aggregates = <>
    FieldDefs = <>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    AfterScroll = cdsMnfProposeAfterScroll
    Left = 252
    Top = 111
    object cdsMnfProposechoice: TBooleanField
      DisplayLabel = #36873#25321
      FieldName = 'choice'
    end
    object cdsMnfProposeproductid: TIntegerField
      FieldName = 'productid'
      OnChange = cdsMnfProposeproductidChange
    end
    object cdsMnfProposep_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 32
    end
    object cdsMnfProposep_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 64
    end
    object cdsMnfProposespec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'spec'
      Size = 64
    end
    object cdsMnfProposeunitid: TIntegerField
      FieldName = 'unitid'
    end
    object cdsMnfProposeunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object cdsMnfProposeqty: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'sugqty'
      OnChange = cdsMnfProposeqtyChange
      DisplayFormat = '0.####'
    end
    object cdsMnfProposeprice: TFloatField
      DisplayLabel = #21333#20215
      FieldName = 'price'
      DisplayFormat = '0.########'
    end
    object cdsMnfProposeamount: TFloatField
      DisplayLabel = #37329#39069
      FieldName = 'amount'
      DisplayFormat = '0.##'
    end
    object cdsMnfProposestartdate: TDateTimeField
      DisplayLabel = #29983#20135#26085#26399
      FieldName = 'startdate'
    end
    object cdsMnfProposeCompletedate: TDateTimeField
      DisplayLabel = #23436#24037#26085#26399
      FieldName = 'completedate'
    end
    object cdsMnfProposerelationpid: TIntegerField
      FieldName = 'relationpid'
      OnChange = cdsMnfProposeassqtyChange
    end
    object cdsMnfProposebatchcode: TStringField
      DisplayLabel = #25209#21495
      FieldName = 'batchcode'
      Size = 60
    end
    object cdsMnfProposequantity: TFloatField
      DisplayLabel = #37325#37327
      FieldName = 'quantity'
    end
    object cdsMnfProposeassqty: TFloatField
      DisplayLabel = #36741#21161#25968#37327
      FieldName = 'assqty'
      OnChange = cdsMnfProposeassqtyChange
    end
    object cdsMnfProposebid: TIntegerField
      FieldName = 'bid'
    end
    object cdsMnfProposebno: TIntegerField
      FieldName = 'bno'
    end
    object cdsMnfProposebtype: TIntegerField
      FieldName = 'btype'
    end
    object cdsMnfProposebcode: TStringField
      DisplayLabel = #21333#25454#32534#21495
      FieldName = 'bcode'
      Size = 40
    end
    object cdsMnfProposeworkshopid: TIntegerField
      DisplayLabel = #29983#20135#36710#38388
      FieldName = 'workshopid'
    end
    object cdsMnfProposeempid: TIntegerField
      DisplayLabel = #29983#20135#24037#20154
      FieldName = 'empid'
    end
    object cdsMnfProposecustom1: TStringField
      FieldName = 'custom1'
      Size = 200
    end
    object cdsMnfProposecustom2: TStringField
      FieldName = 'custom2'
      Size = 200
    end
    object cdsMnfProposecustom3: TStringField
      FieldName = 'custom3'
      Size = 200
    end
    object cdsMnfProposecustom12: TFloatField
      DisplayLabel = #26465#25968
      FieldName = 'custom12'
    end
    object cdsMnfProposesaleorderbcode: TStringField
      FieldName = 'saleorderbcode'
      Size = 60
    end
    object cdsMnfProposebomid: TIntegerField
      FieldName = 'bomid'
    end
    object cdsMnfProposetraderid: TIntegerField
      FieldName = 'traderid'
    end
  end
  object dsMnfPropose: TDataSource
    DataSet = cdsMnfPropose
    Left = 252
    Top = 159
  end
  object cdsPurPropose: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 332
    Top = 115
    object cdsPurProposecustom1: TStringField
      FieldName = 'custom1'
      Size = 200
    end
    object cdsPurProposecustom2: TStringField
      FieldName = 'custom2'
      Size = 200
    end
    object cdsPurProposecustom3: TStringField
      FieldName = 'custom3'
      Size = 200
    end
    object cdsPurProposechoice: TBooleanField
      DisplayLabel = #36873#25321
      FieldName = 'choice'
    end
    object cdsPurProposeproductid: TIntegerField
      FieldName = 'productid'
    end
    object cdsPurProposep_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 32
    end
    object cdsPurProposep_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 64
    end
    object cdsPurProposespec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'spec'
      Size = 64
    end
    object cdsPurProposeunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object cdsPurProposenetqty: TFloatField
      DisplayLabel = #20928#38656#27714#37327
      FieldName = 'netqty'
      DisplayFormat = '0.####'
    end
    object cdsPurProposesugqty: TFloatField
      DisplayLabel = #24314#35758#37319#36141#37327
      FieldName = 'sugqty'
      DisplayFormat = '0.####'
    end
    object cdsPurProposeprice: TFloatField
      DisplayLabel = #21333#20215
      FieldName = 'price'
      DisplayFormat = '0.########'
    end
    object cdsPurProposeamount: TFloatField
      DisplayLabel = #37329#39069
      FieldName = 'amount'
      DisplayFormat = '0.##'
    end
    object cdsPurProposeorderdate: TDateTimeField
      DisplayLabel = #19979#21333#26085#26399
      FieldName = 'orderdate'
    end
    object cdsPurProposebaldate: TDateTimeField
      DisplayLabel = #25910#36135#26085#26399
      FieldName = 'baldate'
    end
    object cdsPurProposeminOrderQty: TFloatField
      DisplayLabel = #26368#23567#25209#37327
      FieldName = 'minOrderQty'
      DisplayFormat = '0.####'
    end
    object cdsPurProposeincOrderQty: TFloatField
      DisplayLabel = #25209#37327#22686#37327
      FieldName = 'incOrderQty'
      DisplayFormat = '0.####'
    end
    object cdsPurProposebid: TIntegerField
      FieldName = 'bid'
    end
    object cdsPurProposebno: TIntegerField
      FieldName = 'bno'
    end
    object cdsPurProposebtype: TIntegerField
      FieldName = 'btype'
    end
    object cdsPurProposesaleorderbcode: TStringField
      FieldName = 'saleorderbcode'
      Size = 60
    end
    object cdsPurProposefixqty: TFloatField
      DisplayLabel = #20462#27491#25968#37327
      FieldName = 'fixqty'
    end
    object cdsPurProposetraderid: TIntegerField
      DisplayLabel = #20379#24212#21830
      FieldName = 'traderid'
    end
  end
  object dsPurPropose: TDataSource
    DataSet = cdsPurPropose
    Left = 332
    Top = 163
  end
  object cdsBudget: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 528
    Top = 95
    object cdsBudgetDate: TDateField
      DisplayLabel = #26085#26399
      FieldName = 'Date'
    end
    object cdsBudgetStock: TFloatField
      DisplayLabel = #24403#21069#24211#23384
      FieldName = 'Stock'
    end
    object cdsBudgetCalcPay: TFloatField
      DisplayLabel = #39044#35745#20184#27454
      FieldName = 'CalcPay'
    end
    object cdsBudgetCalcCharge: TFloatField
      DisplayLabel = #39044#35745#25910#27454
      FieldName = 'CalcCharge'
    end
    object cdsBudgetMrpPurPropose: TFloatField
      DisplayLabel = 'MRP'#35745#21010#37319#36141
      FieldName = 'MrpPurPropose'
    end
    object cdsBudgetDailyExpense: TFloatField
      DisplayLabel = #26085#24120#36153#29992
      FieldName = 'DailyExpense'
    end
    object cdsBudgetLaborage: TFloatField
      DisplayLabel = #24037#36164
      FieldName = 'Laborage'
    end
    object cdsBudgetOnhand: TFloatField
      DisplayLabel = #32467#23384#36164#37329
      FieldName = 'Onhand'
    end
    object cdsBudgetStoreLower: TFloatField
      DisplayLabel = #20648#22791#19979#38480
      FieldName = 'StoreLower'
    end
    object cdsBudgetHardup: TFloatField
      DisplayLabel = #20805#36275'+'#30701#32570'-'
      FieldName = 'Hardup'
    end
  end
  object dsBudget: TDataSource
    DataSet = cdsBudget
    Left = 528
    Top = 147
  end
  object cdsBom: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 76
    Top = 383
  end
  object cdsDepotInfo: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 156
    Top = 383
  end
  object cdsBomSub: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 232
    Top = 383
  end
  object cdsRequest: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 296
    Top = 367
  end
  object cdsPurOrder: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 344
    Top = 351
  end
  object cdsSale: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 396
    Top = 367
  end
  object cdsMnf: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 432
    Top = 351
  end
  object cdsFilRequest: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 468
    Top = 375
  end
  object cdsFilDistribute: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 520
    Top = 359
  end
  object cdsRawMaterials: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 724
    Top = 263
    object cdsRawMaterialsproductid: TIntegerField
      FieldName = 'productid'
    end
    object cdsRawMaterialsp_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 40
    end
    object cdsRawMaterialsp_name: TStringField
      DisplayLabel = #21517#31216
      FieldName = 'p_name'
      Size = 60
    end
    object cdsRawMaterialsp_spec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'p_spec'
      Size = 60
    end
    object cdsRawMaterialsbatchcode: TStringField
      DisplayLabel = #25209#21495
      FieldName = 'batchcode'
      Size = 60
    end
    object cdsRawMaterialscanuseqty: TFloatField
      DisplayLabel = #21487#29992#37325#37327
      FieldName = 'canuseqty'
    end
    object cdsRawMaterialscanuseassqty: TFloatField
      DisplayLabel = #21487#29992#23485
      FieldName = 'canuseassqty'
    end
    object cdsRawMaterialspackqty: TFloatField
      DisplayLabel = #30772#26009#20351#29992#37325#37327
      FieldName = 'packqty'
    end
    object cdsRawMaterialsuseqty: TFloatField
      DisplayLabel = #26412#27425#20351#29992#37325#37327
      FieldName = 'useqty'
      OnChange = cdsRawMaterialsuseqtyChange
    end
    object cdsRawMaterialsuseassqty: TFloatField
      DisplayLabel = #26412#27425#20351#29992#23485
      FieldName = 'useassqty'
    end
    object cdsRawMaterialstid: TIntegerField
      FieldName = 'tid'
    end
    object cdsRawMaterialscustom1: TStringField
      FieldName = 'custom1'
    end
    object cdsRawMaterialscustom2: TStringField
      FieldName = 'custom2'
      Size = 200
    end
    object cdsRawMaterialscustom3: TStringField
      FieldName = 'custom3'
      Size = 200
    end
    object cdsRawMaterialsprice: TFloatField
      FieldName = 'price'
    end
    object cdsRawMaterialscoarseqty: TFloatField
      DisplayLabel = #27611#36793#37325#37327
      FieldName = 'coarseqty'
    end
  end
  object dsRawMaterials: TDataSource
    DataSet = cdsRawMaterials
    Left = 724
    Top = 315
  end
  object pmSpilt: TPopupMenu
    Left = 436
    Top = 296
    object muSelRollRaw: TMenuItem
      Caption = #36873#25321#21367#26009
      OnClick = muSelRollRawClick
    end
    object N1: TMenuItem
      Caption = '-'
    end
    object muSplit: TMenuItem
      Caption = #25286#20998#29983#20135#20219#21153
      OnClick = muSplitClick
    end
    object N2: TMenuItem
      Caption = '-'
    end
    object muEmptyRoll: TMenuItem
      Caption = #28165#31354#21367#26009
      OnClick = muEmptyRollClick
    end
  end
  object cdsSplit: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 337
    Top = 291
    object cdsSplitchoice: TBooleanField
      DisplayLabel = #36873#25321
      FieldName = 'choice'
    end
    object cdsSplitproductid: TIntegerField
      FieldName = 'productid'
      OnChange = cdsMnfProposeproductidChange
    end
    object cdsSplitp_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 32
    end
    object cdsSplitp_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 64
    end
    object cdsSplitspec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'spec'
      Size = 64
    end
    object cdsSplitunitid: TIntegerField
      FieldName = 'unitid'
    end
    object cdsSplitunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object cdsSplitsugqty: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'sugqty'
      DisplayFormat = '0.####'
    end
    object cdsSplitprice: TFloatField
      DisplayLabel = #21333#20215
      FieldName = 'price'
      DisplayFormat = '0.########'
    end
    object cdsSplitamount: TFloatField
      DisplayLabel = #37329#39069
      FieldName = 'amount'
      DisplayFormat = '0.##'
    end
    object cdsSplitstartdate: TDateTimeField
      DisplayLabel = #29983#20135#26085#26399
      FieldName = 'startdate'
    end
    object cdsSplitcompletedate: TDateTimeField
      DisplayLabel = #23436#24037#26085#26399
      FieldName = 'completedate'
    end
    object cdsSplitmake: TStringField
      DisplayLabel = #19979#36798#29983#20135#21152#24037#21333
      FieldName = 'make'
      Size = 12
    end
    object cdsSplitconsign: TStringField
      DisplayLabel = #19979#36798#22996#25176#21152#24037#21333
      FieldName = 'consign'
      Size = 12
    end
    object cdsSplitrelationpid: TIntegerField
      FieldName = 'relationpid'
      OnChange = cdsMnfProposeassqtyChange
    end
    object cdsSplitbatchcode: TStringField
      DisplayLabel = #25209#21495
      FieldName = 'batchcode'
      Size = 60
    end
    object cdsSplitquantity: TFloatField
      DisplayLabel = #37325#37327
      FieldName = 'quantity'
    end
    object cdsSplitassqty: TFloatField
      DisplayLabel = #36741#21161#25968#37327
      FieldName = 'assqty'
      OnChange = cdsMnfProposeassqtyChange
    end
    object cdsSplitbid: TIntegerField
      FieldName = 'bid'
    end
    object cdsSplitbno: TIntegerField
      FieldName = 'bno'
    end
    object cdsSplitbtype: TIntegerField
      FieldName = 'btype'
    end
    object cdsSplitbcode: TStringField
      DisplayLabel = #21333#25454#32534#21495
      FieldName = 'bcode'
      Size = 40
    end
    object cdsSplitworkshopid: TIntegerField
      DisplayLabel = #29983#20135#36710#38388
      FieldName = 'workshopid'
    end
    object cdsSplitempid: TIntegerField
      DisplayLabel = #29983#20135#24037#20154
      FieldName = 'empid'
    end
    object cdsSplitcustom1: TStringField
      FieldName = 'custom1'
      Size = 200
    end
    object cdsSplitcustom2: TStringField
      FieldName = 'custom2'
      Size = 200
    end
    object cdsSplitcustom3: TStringField
      FieldName = 'custom3'
      Size = 200
    end
    object cdsSplitcustom12: TFloatField
      DisplayLabel = #26465#25968
      FieldName = 'custom12'
    end
    object cdsSplitsaleorderbcode: TStringField
      FieldName = 'saleorderbcode'
      Size = 60
    end
  end
  object dsSplit: TDataSource
    DataSet = cdsSplit
    Left = 393
    Top = 291
  end
  object cdsGross: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 100
    Top = 187
    object cdsGrossrawqty: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'rawqty'
      DisplayFormat = '0.####'
    end
    object cdsGrossproductpid: TIntegerField
      FieldName = 'productpid'
    end
    object IntegerField1: TIntegerField
      DisplayLabel = #32423#27425
      FieldName = 'level'
    end
    object IntegerField2: TIntegerField
      FieldName = 'productid'
    end
    object StringField1: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 40
    end
    object StringField2: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 60
    end
    object cdsGrossp_spec: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'p_spec'
      Size = 64
    end
    object StringField4: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object FloatField1: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'quantity'
      DisplayFormat = '0.####'
    end
    object cdsGrossbcodeqty: TStringField
      FieldName = 'bcodeqty'
      Size = 2000
    end
    object cdsGrossbid: TIntegerField
      FieldName = 'bid'
    end
    object cdsBombno: TIntegerField
      FieldName = 'bno'
    end
    object cdsGrossbtype: TIntegerField
      FieldName = 'btype'
    end
    object cdsGrosswasterate: TFloatField
      FieldName = 'wasterate'
    end
    object cdsGrosstraderid: TIntegerField
      FieldName = 'traderid'
    end
    object cdsGrossbomid: TIntegerField
      FieldName = 'bomid'
    end
    object cdsGrossbomname: TStringField
      FieldName = 'bomname'
      Size = 60
    end
    object cdsGrossneeddate: TDateField
      FieldName = 'needdate'
    end
    object cdsGrossbcode: TStringField
      FieldName = 'bcode'
      Size = 60
    end
    object cdsGrosssaleorderbcode: TStringField
      FieldName = 'saleorderbcode'
      Size = 40
    end
    object cdsGrossbompid: TIntegerField
      FieldName = 'bompid'
    end
  end
  object cdsGrossTree: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 104
    Top = 235
    object FloatField2: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'rawqty'
      DisplayFormat = '0.####'
    end
    object IntegerField3: TIntegerField
      FieldName = 'productpid'
    end
    object IntegerField4: TIntegerField
      DisplayLabel = #32423#27425
      FieldName = 'level'
    end
    object IntegerField5: TIntegerField
      FieldName = 'productid'
    end
    object StringField3: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 40
    end
    object StringField5: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 60
    end
    object StringField6: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'p_spec'
      Size = 64
    end
    object StringField7: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object FloatField3: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'quantity'
      DisplayFormat = '0.####'
    end
    object StringField8: TStringField
      FieldName = 'bcodeqty'
      Size = 2000
    end
    object IntegerField6: TIntegerField
      FieldName = 'bid'
    end
    object IntegerField7: TIntegerField
      FieldName = 'bno'
    end
    object FloatField4: TFloatField
      FieldName = 'wasterate'
    end
    object IntegerField8: TIntegerField
      FieldName = 'traderid'
    end
    object cdsGrossTreebomname: TStringField
      FieldName = 'bomname'
      Size = 60
    end
    object cdsGrossTreebomid: TIntegerField
      FieldName = 'bomid'
    end
  end
  object pmPlan: TPopupMenu
    Left = 588
    Top = 223
    object muNewProduct: TMenuItem
      Caption = #26032#22686#36135#21697
      OnClick = muNewProductClick
    end
    object muDeleteProduct: TMenuItem
      Caption = #21024#38500#36135#21697
      OnClick = muDeleteProductClick
    end
  end
  object cdsNetRequest: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 180
    Top = 200
    object IntegerField9: TIntegerField
      DisplayLabel = #32423#27425
      FieldName = 'level'
    end
    object IntegerField10: TIntegerField
      FieldName = 'productid'
    end
    object StringField9: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 32
    end
    object StringField10: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 64
    end
    object StringField11: TStringField
      DisplayLabel = #35268#26684
      FieldName = 'p_spec'
      Size = 64
    end
    object StringField12: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 64
    end
    object DateTimeField1: TDateTimeField
      DisplayLabel = #26085#26399
      FieldName = 'needdate'
    end
    object FloatField5: TFloatField
      DisplayLabel = #27611#38656#27714#37327
      FieldName = 'gross'
      DisplayFormat = '0.####'
    end
    object FloatField6: TFloatField
      DisplayLabel = #24403#21069#24211#23384
      FieldName = 'bookqty'
      DisplayFormat = '0.####'
    end
    object FloatField7: TFloatField
      DisplayLabel = #23433#20840#24211#23384
      FieldName = 'safeqty'
      DisplayFormat = '0.####'
    end
    object FloatField8: TFloatField
      DisplayLabel = #25439#32791#37327
      FieldName = 'wasteqty'
      DisplayFormat = '0.####'
    end
    object FloatField9: TFloatField
      DisplayLabel = #24050#21344#29992#37327
      FieldName = 'usedqty'
      DisplayFormat = '0.####'
    end
    object FloatField10: TFloatField
      DisplayLabel = #38144#21806#22312#35746
      FieldName = 'saleorderqty'
      DisplayFormat = '0.####'
    end
    object FloatField11: TFloatField
      DisplayLabel = #37319#36141#22312#35746
      FieldName = 'purorderqty'
      DisplayFormat = '0.####'
    end
    object FloatField12: TFloatField
      DisplayLabel = #21152#24037#39044#32422#37327
      FieldName = 'mnforderqty'
      DisplayFormat = '0.####'
    end
    object FloatField13: TFloatField
      DisplayLabel = #22312#21152#24037#37327
      FieldName = 'makingqty'
      DisplayFormat = '0.####'
    end
    object FloatField14: TFloatField
      DisplayLabel = #20351#29992#26367#20195#21697
      FieldName = 'subqty'
      DisplayFormat = '0.####'
    end
    object FloatField15: TFloatField
      DisplayLabel = #20928#38656#27714#37327
      FieldName = 'netqty'
      DisplayFormat = '0.####'
    end
    object FloatField16: TFloatField
      DisplayLabel = #24050#35831#24453#37197
      FieldName = 'requestqty'
    end
    object FloatField17: TFloatField
      DisplayLabel = #24050#37197#24453#35843
      FieldName = 'distributeqty'
    end
    object FloatField18: TFloatField
      DisplayLabel = #36229#26399#38144#21806#22312#35746
      FieldName = 'oversaleqty'
    end
    object FloatField19: TFloatField
      DisplayLabel = #36229#26399#37319#36141#22312#35746
      FieldName = 'overpurchaseqty'
    end
    object FloatField20: TFloatField
      DisplayLabel = #24050#35831#24453#35746
      FieldName = 'prequestqty'
    end
  end
  object cdsRawSub: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 92
    Top = 307
    object cdsRawSubsubproductid: TIntegerField
      FieldName = 'subproductid'
    end
    object cdsRawSubquantity: TFloatField
      FieldName = 'quantity'
    end
    object cdsRawSubrawproductid: TIntegerField
      FieldName = 'rawproductid'
    end
    object cdsRawSubsubedqty: TFloatField
      FieldName = 'subedqty'
    end
  end
  object dsNet: TDataSource
    DataSet = cdsNet
    Left = 248
    Top = 267
  end
  object dsGross: TDataSource
    DataSet = cdsGross
    Left = 236
    Top = 319
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 40
    Top = 309
    PixelsPerInch = 96
    object bsSelect: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clWindow
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clActiveCaption
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      TextColor = clActiveCaption
    end
    object bsNormal: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clWindow
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      TextColor = clDefault
    end
    object bsOdd: TcxStyle
      AssignedValues = [svColor]
      Color = clWindow
    end
    object bsEven: TcxStyle
      AssignedValues = [svColor]
      Color = clWindow
    end
    object bsBackGroup: TcxStyle
      AssignedValues = [svColor]
      Color = 16773345
    end
    object bsTitle: TcxStyle
      AssignedValues = [svColor]
      Color = clGradientActiveCaption
    end
    object cxGridBandedTableViewStyleSheet1: TcxGridBandedTableViewStyleSheet
      BuiltIn = True
    end
  end
end
